package com.wanmait.houlang.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.houlang.mapper.ScCagRelationMapper;
import com.wanmait.houlang.pojo.ScCagRelation;
import com.wanmait.houlang.service.ScCagRelationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class ScCagRelationServiceImpl implements ScCagRelationService {
    @Resource
    private ScCagRelationMapper scCagRelationMapper;
    @Override
    public void insert(ScCagRelation object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(ScCagRelation object) {

    }

    @Override
    public ScCagRelation findById(Integer id) {
        return null;
    }

    @Override
    public List<ScCagRelation> findAll() {
        return null;
    }

    @Override
    public PageInfo<ScCagRelation> findAll(int pageNum, int pageSize, ScCagRelation object) {
        return null;
    }

    @Override
    public List<ScCagRelation> findBySchoolId(Integer schoolId) {
        List<ScCagRelation> scCagRelations=scCagRelationMapper.findBySchoolId(schoolId);
        return scCagRelations;
    }

    @Override
    public ScCagRelation LearningID(Integer id) {
       return scCagRelationMapper.LearningID(id);

    }
}
